﻿<!doctype html public '-//W3C//DTD HTML 4.0 Transitional //EN'>
<html>
<head>
<title>AspBox帮助文档</title>
<meta charset='UTF-8' />
<meta name='generator' content='EverEdit' />
<link href='statics/default.css' rel='stylesheet'></link>
<link href='statics/prettify.css' rel='stylesheet'></link>
<script type='text/javascript' src='statics/prettify.js'></script>
<script type='text/javascript' src='statics/jquery-1.10.2.min.js'></script>
<script type='text/javascript' src='statics/code.js'></script>
</head>
<body>
<h1>AspBox E 核心</h1>

<table>
    <tr>
        <td>文件：</td>
        <td>ab.e.asp</td>
    </tr>
    <tr>
        <td>类名：</td>
        <td>Class Cls_AB_E</td>
    </tr>
</table>

<hr />

<p><strong>AB.E.Escape() 方法</strong></p>

<p><em>语法</em></p>

<blockquote>
  <p>str = AB.E.Escape ( string )</p>
</blockquote>

<p><em>说明</em></p>

<blockquote>
  <p>按Unicode编码用%编码特殊字符串</p>
</blockquote>

<p><em>参数</em></p>

<blockquote>
  <p>String string             待编码的字符串</p>
</blockquote>

<p><em>举例</em></p>

<blockquote>
  <p>AB.C.Print AB.E.Escape("这是""AspBox""的演示文本。")
      '输出： %u8FD9%u662F%22AspBox%22%u7684%u6F14%u793A%u6587%u672C%u3002</p>
</blockquote>

<p><em>注释</em></p>

<blockquote>
  <p>调用此方法将把string中的特殊字符按Unicode编码。</p>
</blockquote>

<p><em>返回值</em></p>

<blockquote>
  <p>[String (字符串)] 返回 %编码特殊字符串</p>
</blockquote>

<hr />

<p><strong>AB.E.UnEscape() 方法</strong></p>

<p><em>语法</em></p>

<blockquote>
  <p>str = AB.E.UnEscape ( string )</p>
</blockquote>

<p><em>说明</em></p>

<blockquote>
  <p>把用Unicode编码的特殊字符解码为普通字符串</p>
</blockquote>

<p><em>参数</em></p>

<blockquote>
  <p>String string             待解码的字符串</p>
</blockquote>

<p><em>举例</em></p>

<blockquote>
  <p>AB.C.Print AB.E.UnEscape(&#8221;%u8FD9%u662F%22AspBox%22%u7684%u6F14%u793A%u6587%u672C%u3002&#8221;)</p>
</blockquote>

<p><em>输出</em></p>

<blockquote>
  <p>这是&#8221;AspBox&#8221;的演示文本。</p>
</blockquote>

<p><em>注释</em></p>

<blockquote>
  <p>调用此方法将把str中的Unicode编码字符还原为普通字符串。</p>
</blockquote>

<p><em>返回值</em></p>

<blockquote>
  <p>[String (字符串)] 返回 解码后的字符串</p>
</blockquote>

<hr />
<script type='text/javascript'>
$(document).ready(function(){
  if($('code').length>0){
    $('code').parent().addClass('prettyprint');
    prettyPrint();
};
});
</script>
</body>
</html>